﻿using System;
using System.Drawing.Imaging;
using System.IO;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Media.Media3D;
using CaptureImageTool;
using System.Speech.Synthesis;
using System.Windows.Documents;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading;
namespace testProject
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        GeometryModel3D mGeometry;
        public MainWindow()
        {
            InitializeComponent();
            this.Loaded += new RoutedEventHandler(MainWindow_Loaded);
            MeshGeometry3D mesh = new MeshGeometry3D();
            List<string> tempSource = new List<string>();
            tempSource.Add("you");
            tempSource.Add("yours");
            tempSource.Add("his");
            tempSource.Add("her");

            List<char> tempTriggers = new List<char>();
            tempTriggers.Add('A');
            tempTriggers.Add('Y');
            myRTB.ContentAssistSource = tempSource;
            myRTB.ContentAssistTriggers = tempTriggers;
         } 
        ObservableCollection<string> StringCollection = new ObservableCollection<string>();
        void MainWindow_Loaded(object sender, RoutedEventArgs e)
        {
            
            

        } 
  

 

        

        private void btnSpeak_Click(object sender, RoutedEventArgs e)
        {
            System.Speech.Synthesis.SpeechSynthesizer s = new SpeechSynthesizer();
            s.SpeakAsync(myRTB.Text);
        }
         
    } 
   
}
